<!--
 * @Description: 
 * @Author: jack-wang
 * @Date: 2021-03-29 13:26:55
 * @LastEditTime: 2021-03-29 13:26:55
 * @LastEditors: Su Yunzheng
-->
<template>
    <div>
        {{userinfo.nickname}}
    </div>
</template>

<script>
import {mapState} from 'vuex';
export default {
    computed:{
        ...mapState('user',['userinfo'])
    }
}
</script>